package start;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import start.zk.ZKCustor;

@SpringBootApplication
public class AppStart {

    public static void main(String[] args) {
        SpringApplication.run(AppStart.class);
    }


    @Bean(initMethod = "init")
    public ZKCustor zkCustor() {
        return new ZKCustor();
    }
}
